package com.zt.ztzx.service;

import com.github.pagehelper.PageInfo;
import com.zt.ztzx.model.entity.product.ProductBatches;
import com.baomidou.mybatisplus.extension.service.IService;
import com.zt.ztzx.model.vo.common.Result;

/**
* @author 16236
* @description 针对表【product_batches】的数据库操作Service
* @createDate 2024-09-20 10:02:02
*/
public interface ProductBatchesService extends IService<ProductBatches> {

    Result<PageInfo<ProductBatches>> findAll(Integer pageNum, Integer pageSize,String productName);

    Result add(ProductBatches productBatches);

    Result updateData(ProductBatches productBatches);

    Result removeData(Long id);
}
